
#-*-coding:utf-8-*-
import datetime
import random

class InterfacePici():
    """生成批次号"""
    def Interface_Pici(self):
        now = datetime.datetime.now().strftime("%Y%m%d%H%M")
        res = random.randint(100, 999)
        interface_pici = now + str(res)


        return interface_pici

